﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BUS.DAL
{
    public static class DataAccess
    {
        private static ShopDataContext database;

        public static ShopDataContext Database
        {
            get
            {
                if (database == null)
                    return database = new ShopDataContext();
                return database;
            }

        }
    }
}
